package edu.gdit.health.dao;

import edu.gdit.health.model.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysUserDao {
    @Select("select * from sys_user limit #{offset},#{limit}")
    List<SysUser> getUser(int offset, int limit);
    @Select("select count(*) from sys_user")
    int count();
}

